from selenium.webdriver.common.by import By

class LoginLocator:

    url ='https://hro.workai.com.cn/'

    username = (By.NAME,'username')

    pwd = (By.NAME,'password')

    button = (By.XPATH,'//*[@id="root"]/div/div/div/div[2]/div/div/div/button')

    pwd_err = (By.XPATH, '//*[@id="root"]/div/div/div/div[2]/div/div/div/div[1]/div[2]/div[1]/div/div[3]/div/div/div')

    err_msg = (By.XPATH, '/html/body/div/div/span/div/div/div/span')
                        # /html/body/div/div/span/div/div/div/span

                    # /html/body/div/div/span/div/div/div/span/d
    success_msg = (By.XPATH, '//*[@id="root"]/div/div/div/div[3]/div/div[1]')

    account_err = (By.XPATH, '//*[@id="root"]/div/div/div/div[2]/div/div/div/div[1]/div[2]/div[1]/div/div[2]/div/div/div')

    pwd1_err = (By.XPATH, '//*[@id="root"]/div/div/div/div[2]/div/div/div/div[1]/div[2]/div[1]/div/div[3]/div/div/div')

    account_text = (By.XPATH, '//*[@id="main_left_menu"]/div[1]/div[2]/span[2]/span')

    # //*[@id="root"]/div/div/div/div[2]/div/div/div/div[2]/div[1]/div[3]/div/div[2]/div/input